package com.PGD.model.factories
{
	import com.PGD.model.constants.SlideType;
	import com.PGD.model.vos.QuestionSlide;
	import com.PGD.model.vos.TextSlide;
	
	import mx.utils.UIDUtil;
	
	import uranrus.persistence.Log;
	
	public class SlideFactory
	{
		public function SlideFactory()
		{
		}
		
		public function makeNewTextSlide(position:Number, slidePackID:String):TextSlide
		{
			var slide:TextSlide = new TextSlide();
			slide.log = new Log;
			slide.slidePackID = slidePackID;
			slide.type = SlideType.TEXT_SLIDE;
			slide.id = UIDUtil.createUID();
			slide.title = "Heading"
			slide.subtitle = "SubHeading "+position;
			slide.bodyText = "Add body text here..."
			slide.summary = "Add summary here.."
			slide.timecode = position;
			
			slide.reset();
			slide.isNew = true;
			return slide;
		}
		
		public function makeNewMultipleChoiceQuestionSlide(position:Number, slidePackID:String):QuestionSlide
		{
			var slide:QuestionSlide = new QuestionSlide();
			slide.log = new Log;
			slide.type = SlideType.TEXT_SLIDE;
			slide.id = UIDUtil.createUID();
			slide.title = "Question Title";
			slide.subtitle = "SubHeading "+position;
			slide.bodyText = "Add question text here..."
			slide.summary = "Add question summary here.."
			slide.timecode = position;
			
			slide.reset();
			slide.isNew = true;
			return slide;
		}
		
		
		
	}
}